#Once you have set the trace in palindrome.py 
#Run the module and it will enter pdb itself
where
next
print(digs)
print (x)

next
next
print (div,mod)

next
print (digs)

next
print (x)

#We should have assigned div rather than mod to x. #exit PDB:
quit
